# 计算X因数的个数
# 约定1<=X<=100
cnt = 1
num = int(input())
yinshu = 0
while cnt<=num:
    if num % cnt == 0:
        yinshu += 1
        # print(cnt)
    cnt += 1
print(yinshu)